package com.api.demo.dto.business.company;

import com.api.demo.dto.business.ApiDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description: 查询与服务商合作状态DTO
 * @author: yanming
 * @createDate: 2022/12/27 09:27
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ApplyCooperationStatusDTO extends ApiDTO {

    private static final long serialVersionUID = -5080413112708202206L;

    @ApiModelProperty(value = "服务商id", required = true)
    @NotNull(message = "服务商id不能为空")
    private Long taxId;

    @ApiModelProperty(value = "社会信用代码", required = true)
    @NotBlank(message = "社会信用代码不能为空")
    private String creditCode;
}